<template>
    <div class="detail">
        home page

        <button class="back" @click="back">back</button>
    </div>
</template>
<script>
export default {
    name: "detail",
    components: {},
    data: function () {
        return {};
    },
    mounted: function () {
        console.log("detail 加载完毕");
    },
    methods: {
        back: function () {
            window.history.go(-1);
        },
    },
};
</script>
<style></style>
